<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>工资条查询 - 消防工程集团</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            background: #f5f5f5;
            padding-bottom: 20px;
        }
    </style>
</head>
<body>
    <!-- Header -->
    <div class="bg-gradient-to-r from-blue-600 to-blue-700 text-white px-4 py-4 flex items-center">
        <a href="profile.html" class="mr-3">
            <i class="fas fa-arrow-left text-xl"></i>
        </a>
        <h1 class="text-lg font-semibold">工资条查询</h1>
    </div>

    <!-- Month Selector -->
    <div class="bg-white px-4 py-3 border-b border-gray-100 flex items-center justify-between">
        <button class="text-gray-600">
            <i class="fas fa-chevron-left"></i>
        </button>
        <span class="text-lg font-semibold text-gray-800">2024年1月</span>
        <button class="text-gray-600">
            <i class="fas fa-chevron-right"></i>
        </button>
    </div>

    <!-- Salary Summary -->
    <div class="bg-gradient-to-br from-blue-500 to-blue-600 text-white mx-4 mt-4 rounded-xl shadow-lg p-6">
        <div class="text-center mb-4">
            <div class="text-sm text-blue-100 mb-2">2024年1月工资</div>
            <div class="text-4xl font-bold mb-2">¥12,580.00</div>
            <div class="text-sm text-blue-100">已发放</div>
        </div>
        <div class="border-t border-blue-400 pt-4 mt-4">
            <div class="flex items-center justify-between text-sm mb-2">
                <span class="text-blue-100">发放时间</span>
                <span class="font-semibold">2024-01-10</span>
            </div>
            <div class="flex items-center justify-between text-sm">
                <span class="text-blue-100">工资月份</span>
                <span class="font-semibold">2024年1月</span>
            </div>
        </div>
    </div>

    <!-- Salary Details -->
    <div class="bg-white mx-4 mt-4 rounded-xl shadow-sm p-4">
        <div class="text-gray-700 font-semibold mb-4 flex items-center">
            <i class="fas fa-list-alt text-blue-500 mr-2"></i>
            工资明细
        </div>
        
        <!-- Income -->
        <div class="mb-4">
            <div class="text-sm font-semibold text-gray-700 mb-3">应发项目</div>
            <div class="space-y-2">
                <div class="flex items-center justify-between py-2 border-b border-gray-100">
                    <span class="text-sm text-gray-600">基本工资</span>
                    <span class="text-sm font-semibold text-gray-800">¥8,000.00</span>
                </div>
                <div class="flex items-center justify-between py-2 border-b border-gray-100">
                    <span class="text-sm text-gray-600">岗位工资</span>
                    <span class="text-sm font-semibold text-gray-800">¥2,000.00</span>
                </div>
                <div class="flex items-center justify-between py-2 border-b border-gray-100">
                    <span class="text-sm text-gray-600">绩效工资</span>
                    <span class="text-sm font-semibold text-gray-800">¥1,500.00</span>
                </div>
                <div class="flex items-center justify-between py-2 border-b border-gray-100">
                    <span class="text-sm text-gray-600">加班费</span>
                    <span class="text-sm font-semibold text-gray-800">¥580.00</span>
                </div>
                <div class="flex items-center justify-between py-2 border-b border-gray-100">
                    <span class="text-sm text-gray-600">全勤奖</span>
                    <span class="text-sm font-semibold text-gray-800">¥500.00</span>
                </div>
                <div class="flex items-center justify-between py-2">
                    <span class="text-sm font-semibold text-gray-700">应发合计</span>
                    <span class="text-sm font-bold text-blue-600">¥12,580.00</span>
                </div>
            </div>
        </div>

        <!-- Deduction -->
        <div class="mb-4 pt-4 border-t border-gray-200">
            <div class="text-sm font-semibold text-gray-700 mb-3">扣除项目</div>
            <div class="space-y-2">
                <div class="flex items-center justify-between py-2 border-b border-gray-100">
                    <span class="text-sm text-gray-600">社保个人</span>
                    <span class="text-sm font-semibold text-gray-800">¥800.00</span>
                </div>
                <div class="flex items-center justify-between py-2 border-b border-gray-100">
                    <span class="text-sm text-gray-600">公积金个人</span>
                    <span class="text-sm font-semibold text-gray-800">¥400.00</span>
                </div>
                <div class="flex items-center justify-between py-2 border-b border-gray-100">
                    <span class="text-sm text-gray-600">个税</span>
                    <span class="text-sm font-semibold text-gray-800">¥180.00</span>
                </div>
                <div class="flex items-center justify-between py-2">
                    <span class="text-sm font-semibold text-gray-700">扣除合计</span>
                    <span class="text-sm font-bold text-red-600">¥1,380.00</span>
                </div>
            </div>
        </div>

        <!-- Final Amount -->
        <div class="pt-4 border-t-2 border-blue-200">
            <div class="flex items-center justify-between">
                <span class="text-base font-bold text-gray-800">实发工资</span>
                <span class="text-2xl font-bold text-blue-600">¥11,200.00</span>
            </div>
        </div>
    </div>

    <!-- History -->
    <div class="bg-white mx-4 mt-4 rounded-xl shadow-sm p-4 mb-6">
        <div class="text-gray-700 font-semibold mb-4 flex items-center justify-between">
            <div class="flex items-center">
                <i class="fas fa-history text-blue-500 mr-2"></i>
                历史工资
            </div>
            <a href="#" class="text-blue-600 text-sm">查看全部 <i class="fas fa-chevron-right text-xs"></i></a>
        </div>
        <div class="space-y-3">
            <div class="flex items-center justify-between py-3 border-b border-gray-100">
                <div>
                    <div class="text-sm font-semibold text-gray-800">2023年12月</div>
                    <div class="text-xs text-gray-500 mt-1">实发：¥11,000.00</div>
                </div>
                <div class="text-right">
                    <span class="text-xs text-green-600 bg-green-50 px-2 py-1 rounded">已发放</span>
                    <div class="text-xs text-gray-400 mt-1">2023-12-10</div>
                </div>
            </div>
            <div class="flex items-center justify-between py-3 border-b border-gray-100">
                <div>
                    <div class="text-sm font-semibold text-gray-800">2023年11月</div>
                    <div class="text-xs text-gray-500 mt-1">实发：¥10,800.00</div>
                </div>
                <div class="text-right">
                    <span class="text-xs text-green-600 bg-green-50 px-2 py-1 rounded">已发放</span>
                    <div class="text-xs text-gray-400 mt-1">2023-11-10</div>
                </div>
            </div>
            <div class="flex items-center justify-between py-3">
                <div>
                    <div class="text-sm font-semibold text-gray-800">2023年10月</div>
                    <div class="text-xs text-gray-500 mt-1">实发：¥10,500.00</div>
                </div>
                <div class="text-right">
                    <span class="text-xs text-green-600 bg-green-50 px-2 py-1 rounded">已发放</span>
                    <div class="text-xs text-gray-400 mt-1">2023-10-10</div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>

